// 组装模块并导出 store 的地方
import Vue from 'vue';
import Vuex from 'vuex';
import {authentication} from './authentication/index'
import {file_system} from './file-system/index'
import {notice} from './notice/index'
import {hr} from './hr/index'
import {wp} from './wp/index'
import {finance} from './finance/index'

Vue.use(Vuex);

export default new Vuex.Store({
    modules: {
      authentication: authentication,
      file_system: file_system,
      notice: notice,
      hr: hr,
      wp: wp,
      finance: finance,
    }
});
